home *** CD-ROM | disk | FTP | other *** search
Java Source | 2000-06-23 | 1.2 KB | 48 lines |
- import java.awt.*;
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
-
- public class AboutDialog extends Dialog
- {
- //DECLARE_CONTROLS
- //Insert "AboutDialog Declare Controls"
-
-
- public AboutDialog(Frame parent, boolean modal)
- {
- super(parent, modal);
-
- //INIT_CONTROLS
-
- //Setting up the dialog the way we want it.
- //Insert "AboutDialog Dialog Setup"
-
- //Setting up label1 and placing it in the layout
- //Insert "AboutDialog label1 Setup"
-
- //Setting up okButton and placing it in the layout
- //Insert "AboutDialog okButton Setup"
-
- //REGISTER_LISTENERS
- //Registering our ActionListner with the okButton
- //Insert "AboutDialog Register Listeners"
- }
-
- /**
- * Shows or hides the component depending on the boolean flag b.
- * @param b if true, show the component; otherwise, hide the component.
- * @see java.awt.Component#isVisible
- */
- public void setVisible(boolean b)
- {
- //Place the dialog in the Macintosh Alert Position
- //Insert "AboutDialog setVisible"
- }
-
- //Innerclass for handling ActionEvents
- //Insert "AboutDialog ActionListener"
-
- //Respond to button clicked ActionEvents from the okButton
- //Insert "AboutDialog okButton_Clicked"
- }
-